﻿using GroupMeal.Foods;
using System;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Materials
{
    /// <summary>
    /// 原材料
    /// </summary>
    public class MaterialDetail :Entity<Guid>, IMultiTenant
    {

        public virtual Guid? TenantId
        {
            get;set;
        }

        /// <summary>
        /// 原料ID
        /// </summary>
        public virtual Guid MaterialId
        {
            get;set;
        }


        public virtual Guid MerchantFoodId
        {
            get;set;
        }

        /// <summary>
        /// 数量
        /// </summary>
        public virtual int Count
        {
            get; set;
        } = 1;

        

    }
}
